import layout from "@/layout";

export default {
  path: "/employee",
  component: layout,
  children: [
    {
      path: "",
      name: "employee",
      component: () => import("@/views/employee"),
      meta: {
        title: "员工管理",
        icon: "user",
      },
    },
    {
      path: "detail/:id?",
      component: () => import("@/views/employee/detail.vue"),
      hidden: true,
    },
  ],
};
